All Questions
1 question
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2votes
1answer
2kviews
If I am using just HashMap can I override only hashCode method?
If I need to use only HashMap, why do I need to override equals() method along with hashCode()? How will not implementing equals() affect the working of HashMap?
- The Overflow Blog
- Featured on Meta
Related Tags
collections × 1
Hot Network Questions
- If we can get intelligence from non intelligence, why can’t we get consciousness from non consciousness?
- Move tabular environments using Tikz
- Travelling to US by road by personal car and leaving by personal car
- Why isn't a misfiled attorney-client memo fair game for use in a trial?
- Why is Qxb2 so much better than Bxb2?
- Why was the value of modulus (q) chosen small in KYBER and large in DILITHIUM?
- In ST: TNG 6x25, "Timescape", what happens to the Romulan ship?
- OTA took our money but won't give confirmation for my flight until 24 hrs before
- What is this orange button on my antique Black & Decker drill?
- Can the irrationals be partitioned into dense, disjoint subsets?
- Why the V_BE is too high in this circuit?
- Is "any unfavorable gestures of her" correct grammar?
- Are molecules in a mixture chemically bonded?
- Why Linux read() avoids using full 2 GiB in one call
- Children and aliens grow up together
- Are these chainrings or cassette cooked? 3 year old road bike
- Is it always valid to use correlation for feature selection?
- Multiday hike in UK with children
- Fill a space made by three arcs
- How can I patch a shallow depression in my asphalt driveway?
- Reasoning about quest and story deadlocks etc
- לשנה הבאה בירושלים - why wait till next year
- Does the aboleth's probing telepathy require a response?
- How to convincingly erase a population's memory?